package templatemethod;

public class TemplateMethod {
	private String str;

	public String getStr() {
		return str;
	}

	public void setStr(String str) {
		this.str = str;
	}
	
	public <T1, T2, T3> void method(T1 t1,T2 t2,T3 t3)
	{
		System.out.println(t1.toString() + " "+t2.toString()+" "+t3.toString());
	}
}
